Claims (Blue Button) Synchronization with Health Cloud and Data Cloud

(0 reviews)

Architecture Diagram

resources/cms-blue-button-api-impl_ArchitectureDiagram_Image_1-42b6cfce-c8cc-4ff8-aba2-a5cef836579c.png

Sequence Diagram

resources/cms-blue-button-api-impl_ArchitectureDiagram_Image_2-30e3242c-850d-495e-b327-ebf9a1e25486.png

SNoOperationDescription
1authorizePatient invokes the authorize flow from the patient application.
2redirect_to_oauth_screenPatient is redirected to the Payer system's OAuth screen.
3enter_credentials, provide_consentPatient provides their credentials to provide consent to access their EOB data from the Payer server.
4redirect_back_with_codePatient is redirected to the confirmation screen with the code that can be used to generate refresh_token.
5request_refresh_tokenUsing the code returned in the previous call, from the Patient application, a request is sent to Payer server for refresh_token.
6refresh_tokenA refresh_token is generated by the Payer server.
7save_refresh_tokenIn the patient application, the refresh_token will be saved in named credentials and the reference to the named credentials will be mapped against the patient.
8trigger_apexAn Apex scheduler is triggered as per the configuration (recommended configuration is once a week).
9request_access_tokenWith the refresh_token generated a call is made to the Payer server to get the access_token.
10access_tokenThe access_token returned by Payer server.
11call_patient_syncUsing the generated access_token mulesoft API patient sync endpoint is called.
12job_idA unique identifier will be generated by Mulesoft API that can be used as correlation id.
13request_eob_dataMulesoft will call the BlueButton API to get the EOB data.
14eob_dataThe EOB data for a patient returned by blue button API.
15transformTransform the data to map salesforce entities and persist in respective entities.
16save_clinical_dataClinical data is saved in Salesforce HealthCloud.
17save_claim_dataClaim data is saved in Salesforce DataCloud.
18update_job_statusUpdate the job status back to salesforce custom object.

Reviews

TypeApplication
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onJun 13, 2024
Asset overview
Industries CloudHealth
Custom fields

Asset versions for 2.0.x

Asset versions
VersionActions
2.0.1
2.0.0